#!/bin/bash

DIRS=('build' 'dist' 'scpy2.egg-info')

function clean()
{
    for x in ${DIRS[*]}
    do
        if [ -d $x ];
        then
            rm -fr $x
            echo "$x deleted"
        fi
    done
}

clean

python setup.py install

clean
